// import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const DASHBOARD: AppRouteRecordRaw = {
    path: '/user',
    name: 'user',
    // component: DEFAULT_LAYOUT,
    redirect: '/user',
    meta: {
        locale: '人体部位管理',
        ignoreCache: true,
        requiresAuth: true,
        roles: '*',
        icon: 'icon-dashboard',
        order: 0,
        hideInMenu: false,
    },
    children: [{
        path: 'user',
        name: 'user',
        component: () =>
            import('@/views/usercenter/index.vue'),
        meta: {
            locale: '人体部位管理',
            ignoreCache: true,
            requiresAuth: true,
            roles: '*',
            hideInMenu: true,
            activeMenu: 'user'
        },
    },
    {
        path: 'folder',
        name: 'folder',
        component: () =>
            import('@/views/usercenter/folder.vue'),
        meta: {
            locale: '我的收藏夹',
            ignoreCache: true,
            requiresAuth: true,
            roles: '*',
            hideInMenu: true,
            activeMenu: 'folder'
        },
        },
          {
        path: 'bookMark',
        name: 'bookMark',
        component: () =>
            import('@/views/usercenter/bookMark.vue'),
        meta: {
            locale: '我的书签',
            ignoreCache: true,
            requiresAuth: true,
            roles: '*',
            hideInMenu: true,
            activeMenu: 'bookMark'
        },
        },
        {
        path: 'recordTp',
        name: 'recordTp',
        component: () =>
            import('@/views/usercenter/recordTp.vue'),
        meta: {
            locale: '图谱学习记录',
            ignoreCache: true,
            requiresAuth: true,
            roles: '*',
            hideInMenu: true,
            activeMenu: 'recordTp'
        },
        },
         {
        path: 'recordBl',
        name: 'recordBl',
        component: () =>
            import('@/views/usercenter/recordBl.vue'),
        meta: {
            locale: '病例学习记录',
            ignoreCache: true,
            requiresAuth: true,
            roles: '*',
            hideInMenu: true,
            activeMenu: 'recordBl'
        },
        },
        
    // folder.vue
    ],
};

export default DASHBOARD;